package cn.com.duiba.millionaire.center.api.msg;

import javax.servlet.AsyncContext;
import java.io.Serializable;

/**
 * Created by zzy on 2018/1/20.
 */
public class SubmitAnswerMsg implements Serializable {
    private static final long serialVersionUID = 2068220338503640366L;
    /**
     * cid
     */
    private Long consumerId;
    /**
     * appId
     */
    private Long appId;
    /**
     * 分会场活动id
     */
    private Long activityId;
    /**
     * 题目id
     */
    private Integer questionIndex;
    /**
     * 用户答案
     */
    private String userAnswer;

    /**
     * 当前时间，毫秒
     */
    private Long submitTime;

    /**
     * 活动类型
     */
    private Integer actType;

    /**
     * 异步Servlet上下文
     */
    private transient AsyncContext context;

    public SubmitAnswerMsg() {
    }

    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Integer getQuestionIndex() {
        return questionIndex;
    }

    public void setQuestionIndex(Integer questionIndex) {
        this.questionIndex = questionIndex;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }

    public Long getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Long submitTime) {
        this.submitTime = submitTime;
    }

    public AsyncContext getContext() {
        return context;
    }

    public void setContext(AsyncContext context) {
        this.context = context;
    }

    public Integer getActType() {
        return actType;
    }

    public void setActType(Integer actType) {
        this.actType = actType;
    }
}
